import axios from "axios"
let _axios = axios.create({
    timeout:20000
})
// _axios.interceptors = function(res){
//     return res.data
// }
let api = {
    seller :"/api/query/seller",
    goods:"/api/query/goods",
    rating:"/api/query/ratings"
}

export function seller(){
        return axios.get(api.seller)
}

export function goods(){
    return axios.get(api.goods)
}

export function rating(){
    return axios.get(api.rating)
}
